package com.wangjiang.mario.admin.system.domain.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.wangjiang.mario.admin.common.base.BaseSortEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;


/**
 * 字典数据表
 *
 * @author wangjiang
 * @Date 2019-08-08 17:44:51
 */
@Data
@TableName(value = "mario_system_dict_data")
@ApiModel(value = "字典数据表")
public class SystemDictDataEntity extends BaseSortEntity {

    @TableField(value = "dict_label")
    @ApiModelProperty(value = "字典标签")
    private String dictLabel;

    @TableField(value = "dict_value")
    @ApiModelProperty(value = "字典键值-在实际应用的时候，相关表中存的是dictValue的值，而不是字典数据的id或uuid")
    private String dictValue;

    @TableField(value = "dict_type")
    @ApiModelProperty(value = "字典类型-对应字典类型表中的相同字段")
    private String dictType;

}
